package com.gec.domain;

/*
 *  Type: Class
 *  Author: DawnFz.com
 *  Date: 2022/10/26 9:45
 *  Project: HotelSSM
 *  Version: 1.0
 *  Describe: [Reim类]
 */
public class Reim
{
    private String procInstId;
    private String procDefId;
    private String taskId;
    private String taskName;
    private String title;
    private String reason;
    private Double price;
    private String createTime;
    private String finishTime;
    private String initiator;
    private String initiatorName;
    private String assignee;
    private String assigneeName;
    private String status;

    public String getProcInstId()
    {
        return procInstId;
    }

    public void setProcInstId(String procInstId)
    {
        this.procInstId = procInstId;
    }

    public String getProcDefId()
    {
        return procDefId;
    }

    public void setProcDefId(String procDefId)
    {
        this.procDefId = procDefId;
    }

    public String getTaskId()
    {
        return taskId;
    }

    public void setTaskId(String taskId)
    {
        this.taskId = taskId;
    }

    public String getTaskName()
    {
        return taskName;
    }

    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public Double getPrice()
    {
        return price;
    }

    public void setPrice(Double price)
    {
        this.price = price;
    }

    public String getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    public String getFinishTime()
    {
        return finishTime;
    }

    public void setFinishTime(String finishTime)
    {
        this.finishTime = finishTime;
    }

    public String getInitiator()
    {
        return initiator;
    }

    public void setInitiator(String initiator)
    {
        this.initiator = initiator;
    }

    public String getInitiatorName()
    {
        return initiatorName;
    }

    public void setInitiatorName(String initiatorName)
    {
        this.initiatorName = initiatorName;
    }

    public String getAssignee()
    {
        return assignee;
    }

    public void setAssignee(String assignee)
    {
        this.assignee = assignee;
    }

    public String getAssigneeName()
    {
        return assigneeName;
    }

    public void setAssigneeName(String assigneeName)
    {
        this.assigneeName = assigneeName;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getReason()
    {
        return reason;
    }

    public void setReason(String reason)
    {
        this.reason = reason;
    }

    @Override
    public String toString()
    {
        final StringBuilder sb = new StringBuilder("{");
        if (procInstId != null) sb.append("\"procInstId\":\"").append(procInstId).append("\",");
        if (procDefId != null) sb.append("\"procDefId\":\"").append(procDefId).append("\",");
        if (taskId != null) sb.append("\"taskId\":\"").append(taskId).append("\",");
        if (taskName != null) sb.append("\"taskName\":\"").append(taskName).append("\",");
        if (title != null) sb.append("\"title\":\"").append(title).append("\",");
        if (reason != null) sb.append("\"reason\":\"").append(reason).append("\",");
        if (price != null) sb.append("\"price\":").append(price).append(",");
        if (createTime != null) sb.append("\"createTime\":\"").append(createTime).append("\",");
        if (finishTime != null) sb.append("\"finishTime\":\"").append(finishTime).append("\",");
        if (initiator != null) sb.append("\"initiator\":\"").append(initiator).append("\",");
        if (initiatorName != null) sb.append("\"initiatorName\":\"").append(initiatorName).append("\",");
        if (assignee != null) sb.append("\"assignee\":\"").append(assignee).append("\",");
        if (assigneeName != null) sb.append("\"assigneeName\":\"").append(assigneeName).append("\",");
        if (status != null) sb.append("\"status\":\"").append(status).append("\",");
        if (sb.lastIndexOf(",") != -1) sb.deleteCharAt(sb.lastIndexOf(","));
        sb.append('}');
        return sb.toString();
    }
}
